package com.itheima.text1;

public class Demo1 {
    public static void main(String[] args) {
        Student stu = new Student("12","张三","23");
        Student stu1 = new Student("12","张三","23");

        boolean equals = stu.equals(stu1);
        System.out.println(equals);
    }

}
